package com.jia.together.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jia.together.entity.Blog;
import com.jia.together.entity.MemberBlog;
import com.jia.together.entity.MemberCourse;
import com.jia.together.entity.MemberFans;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Member其他关联数据对象", description="")
public class MemberOthersVo implements Serializable {

    @ApiModelProperty(value = "会员id")
    private String memberId;

    @ApiModelProperty(value = "学习课程")
    private List<MemberCourse> memberStudyCourse;

    @ApiModelProperty(value = "购买课程")
    private List<MemberCourse> memberBuyCourse;

    @ApiModelProperty(value = "收藏的文章")
    private List<MemberBlog> memberCollectBlog;

    @ApiModelProperty(value = "发布的文章")
    @TableField(exist = false)
    private List<Blog> memberPublishBlog;

    @ApiModelProperty(value = "我的关注")
    @TableField(exist = false)
    private List<MemberFans> memberFollow;

    @ApiModelProperty(value = "我的粉丝")
    @TableField(exist = false)
    private List<MemberFans> memberFans;

}
